package com.bjg.wcl.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 设备监测点
 */
@Data
@TableName(value = "fmcs_device_point")
public class FmcsDevicePoint implements Serializable {

    @TableId(value = "id",type = IdType.UUID)
    private String id;//监测点ID
    @TableField(value = "fmcs_device_id")
    private Long fmcsDeviceId;//设备编号
    @TableField(value = "fmcs_device_name")
    private String fmcsDeviceName;//设备名称
    @TableField(value = "fmcs_device_path")
    private String fmcsDevicePath;//设备路径
    @TableField(value = "point_name")
    private String pointName;//监测点名称
    @TableField(value = "point_nick_name")
    private String pointNickName;//监测点别名
    @TableField(value = "unit")
    private String unit;//单位
    @TableField(value = "dsporder")
    private int dsporder;//显示顺序
    @TableField(value = "show_type")
    private String showType;//Float:悬浮显示；RealTime.实时数据；Chart:统计图
    @TableField(value = "conversion")
    private String conversion;//转换值，存储json字符串，不转换为空
    @TableField(value = "alarm_value")
    private String alarmValue;//报警值，判断是否报警
    @TableField(value = "namespace_index")
    private Integer namespaceIndex;//命名空间索引
    @TableField(value = "create_time")
    private Date createTime;//创建时间
    @TableField(value = "update_time")
    private Date updateTime;//修改时间
    @TableField(value = "deleted")
    private int deleted;//已删除标记(1,已删除;0,正常)

}
